﻿using System.Collections.Generic;
using Sahit.iSoilHotel.Infrastructure.Web.Framework;

namespace Sahit.iSoilHotel.Infrastructure.Web.Events
{
    public class SubscriptionService : ISubscriptionService
    {
        public SubscriptionService()
        {
        }

        public IList<IConsumer<T>> GetSubscriptions<T>()
        {
            return EngineContext.Current.ResolveAll<IConsumer<T>>();
        }
    }
}
